package com.beidasoft.web.model.inspection;

import com.beidasoft.web.vo.inspection.InspListDetailGroup;
import net.sf.json.JSONArray;

import java.util.List;

/**
 * @ClassName InspectionListModule
 * @Description TODO 检查单，审核通过后，检查单的模块model层
 * @Author songff
 * @Date 2019/11/28 22:20
 * @Version 1.0
 **/
public class InspectionListModule {

    private String id;   //数据id
    private String listId;   //检查单模版id
    private String moduleId;   //关联检查模块id
    private String moduleName;   //关联检查模块名称
    private Integer indexOrder;   //数据排序
    private Integer state;  //数据状态前端对接字段  0 未开始 #333，1 正在做 #44a2f0，2 已完成 有问题 #F56C6C，3 已完成 没问题 #67c23a
    private Integer moduleType; // 模版层级（1一级导航栏，2二级导航栏）
    private String recordId;   //检查案件填报数据ID
    private String thisDomId; //当前节点ID
    private String nextDomId; //下一步节点ID
    private List<InspectionListModule> child;   //二级模块名称
    private List<InspectionListItem> items;  //检查模块的检查项
    private List<InspectionListItemDetail> reviewItemDetails; //复查有问题的检查内容
    private List<InspectionListItemDetail> sampleItemDetails; //抽样检验的检查内容
    private Integer isReview; //是否复查,或者是否存在抽样检验（0否，1是）
    private String[] itemRelationIds;
    private String itemsText;
    private String itemsId;
    private Integer isAllDetail;//是否该检查项下所有检查内容都检查（辅助字段，默认1:都检查 ）

    private List<InspListDetailGroup> itemDetailGroup;  //检查单内，项的检查内容集合
    private String[] detailIds;
    private JSONArray itemJsonArray;
    private Integer detailCode;   //分表号（0~9）

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getListId() {
        return listId;
    }

    public void setListId(String listId) {
        this.listId = listId;
    }

    public String getModuleId() {
        return moduleId;
    }

    public void setModuleId(String moduleId) {
        this.moduleId = moduleId;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public Integer getIndexOrder() {
        return indexOrder;
    }

    public void setIndexOrder(Integer indexOrder) {
        this.indexOrder = indexOrder;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getModuleType() {
        return moduleType;
    }

    public void setModuleType(Integer moduleType) {
        this.moduleType = moduleType;
    }

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId;
    }

    public String getThisDomId() {
        return thisDomId;
    }

    public void setThisDomId(String thisDomId) {
        this.thisDomId = thisDomId;
    }

    public String getNextDomId() {
        return nextDomId;
    }

    public void setNextDomId(String nextDomId) {
        this.nextDomId = nextDomId;
    }

    public List<InspectionListModule> getChild() {
        return child;
    }

    public void setChild(List<InspectionListModule> child) {
        this.child = child;
    }

    public List<InspectionListItem> getItems() {
        return items;
    }

    public void setItems(List<InspectionListItem> items) {
        this.items = items;
    }

    public List<InspectionListItemDetail> getReviewItemDetails() {
        return reviewItemDetails;
    }

    public void setReviewItemDetails(List<InspectionListItemDetail> reviewItemDetails) {
        this.reviewItemDetails = reviewItemDetails;
    }

    public List<InspectionListItemDetail> getSampleItemDetails() {
        return sampleItemDetails;
    }

    public void setSampleItemDetails(List<InspectionListItemDetail> sampleItemDetails) {
        this.sampleItemDetails = sampleItemDetails;
    }

    public Integer getIsReview() {
        return isReview;
    }

    public void setIsReview(Integer isReview) {
        this.isReview = isReview;
    }

    public String[] getItemRelationIds() {
        return itemRelationIds;
    }

    public void setItemRelationIds(String[] itemRelationIds) {
        this.itemRelationIds = itemRelationIds;
    }

    public String getItemsText() {
        return itemsText;
    }

    public void setItemsText(String itemsText) {
        this.itemsText = itemsText;
    }

    public String getItemsId() {
        return itemsId;
    }

    public void setItemsId(String itemsId) {
        this.itemsId = itemsId;
    }

    public List<InspListDetailGroup> getItemDetailGroup() {
        return itemDetailGroup;
    }

    public void setItemDetailGroup(List<InspListDetailGroup> itemDetailGroup) {
        this.itemDetailGroup = itemDetailGroup;
    }

    public Integer getIsAllDetail() {
        return isAllDetail;
    }

    public void setIsAllDetail(Integer isAllDetail) {
        this.isAllDetail = isAllDetail;
    }

    public String[] getDetailIds() {
        return detailIds;
    }

    public void setDetailIds(String[] detailIds) {
        this.detailIds = detailIds;
    }

    public JSONArray getItemJsonArray() {
        return itemJsonArray;
    }

    public void setItemJsonArray(JSONArray itemJsonArray) {
        this.itemJsonArray = itemJsonArray;
    }

    public Integer getDetailCode() {
        return detailCode;
    }

    public void setDetailCode(Integer detailCode) {
        this.detailCode = detailCode;
    }
}
